import requests
url= 'https://webapi.qingting.fm/api/mobile/rank/hotsaleWeekly'

headers ={
    'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0'
}

response = requests.get(url,headers=headers).json()
# print(type(response))
dict = response['rankinglist']
# print(type(dict))
# print(dict)
for tmp in dict:
    print(tmp['title'],tmp['playCount'])